package com.smartstate.autoMaticControl.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;

@Data
@Entity
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "部门表")
public class Department extends EntityBase {


  /**
   * 部门名称
   */
  @ApiModelProperty(value = "部门名称")
  private String name;

  /**
   * 部门编号
   */
  @ApiModelProperty(value = "部门编号")
  private String code;
}
